package cn.xiyun.xiyuncc.service;

import cn.xiyun.xiyuncc.domain.CourseOrder;
import cn.xiyun.xiyuncc.dto.PlaceOrderDto;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author xiyun.maple
 * @since 2023-03-20
 */
public interface ICourseOrderService extends IService<CourseOrder> {


    String placeOrder(PlaceOrderDto placeOrderDto);

    void insertOrder(CourseOrder courseOrder);


    List<CourseOrder> forUser();

    String killPlaceOrder(PlaceOrderDto placeOrderDto);
}
